package com.info.zhiduoduo.admin.controller;

import com.info.zhiduoduo.admin.model.formbean.order.OrderListFormBean;
import com.info.zhiduoduo.admin.model.formbean.wxnotice.QueryWxNoticeFormBean;
import com.info.zhiduoduo.admin.service.WxNoticeService;
import com.info.zhiduoduo.common.constants.SmartResult;
import com.info.zhiduoduo.common.formbean.BaseSimpleFormBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author wang
 * @create 2021/11/30 18:04
 **/
@Api(tags = "消息推送记录")
@RestController
@RequestMapping("/wxNotice")
public class WxNoticeController {

    @Resource
    private WxNoticeService wxNoticeService;

    /**
     * 消息推送记录列表
     *
     * @param formBean
     * @return
     */
    @PostMapping("/list")
    @ApiOperation("消息推送记录列表")
    public SmartResult queryWxNotice(@RequestBody BaseSimpleFormBean<QueryWxNoticeFormBean> formBean) {
        return wxNoticeService.queryWxNotice(formBean);
    }


}



